package com.hotelvip.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * 介绍人身份实体类
 */

@Data
@Accessors(chain = true)
@TableName(value = "ht_identity")
@ApiModel(value = "身份对象",description = "身份对象Item")
public class Identity {
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "id",name = "id")
    private Integer id;
    @ApiModelProperty(value = "身份",name = "identityName")
    private String identityName;
    @ApiModelProperty(value = "是否为父类节点",name = "isParent")
    private Integer isParent;
    @ApiModelProperty(value = "身份",name = "parentId")
    private Integer parentId;
}
